The following table lists and describes methods of the Generic Grid Control. Methods are accessed using the control's script editor.
Note: If a property or method in the script editor has two forms with the same name, one form exists for legacy support and the other form is current. When possible, use the current form. To select the current form, append .X. to the name of the object to which the property or method applies, and then enter the property or method name. For instance, enter MyObject.X.MyProperty. If a property or method in the script editor has only one form, the X method might or might not apply. The
column in the table below indicates whether or not a property or method is accessible using the X method.
Browse by letter: A C E G I R S
| Method |
|
Description |
|---|---|---|
|
No |
The AboutBox method displays an About dialog box for the control. |
|
|
No |
The AddColumn method adds a column to the grid. Parameters
|
|
|
No |
The AddRow method adds a row to the grid. |
|
|
No |
The AddRowToGroup method adds a row to a group of rows in the grid. Parameters
|
|
|
No |
The Clear method clears the contents and values of the object. Parameters
|
|
|
No |
The ExportToCSV method exports the contents of the grid to a CSV file. Parameters
|
|
|
No |
The GetCellCheckBoxValue method returns if the check box cell is checked or not. Script subtype is Boolean. Parameters
|
|
|
No |
The GetCellData method returns the data for a cell. Script subtype is string. Parameters
|
|
|
No |
The GetCellDropListSelIndex method gets the index of the currently selected value in the list. Script subtype is integer. Parameters
|
|
|
No |
The GetCellIsCheckBoxType method returns if the cell is a check box or not. Script subtype is Boolean. Parameters
|
|
|
No |
The GetCellValue method returns the value for a cell. Script subtype is string. Parameters
|
|
|
No |
The GetRowData method retrieves background data for a row. Script subtype is string. Parameters
|
|
|
No |
The GetRowIndexAdjustedForGroups method gets the index for a row that ignores the group rows. Script subtype is integer. Parameters
|
|
|
No |
The GetSelectedCells method returns the selected cells in an array. Script subtype is array. |
|
|
No |
The GetSelectedRows method returns the selected rows in an array. Script subtype is array. |
|
|
No |
The IsGroupRow method returns true if the given row is a group header rather than a regular row. Script subtype is Boolean. Parameters
|
|
|
No |
The Refresh method refreshes the grid's contents and applies setting changes. |
|
|
No |
The RemoveRow method removes a row from the grid. Parameters
|
|
|
No |
The ResetCellType method clears type on a cell. Parameters
|
|
|
No |
The SetCellAlignment method sets the alignment for the text in the cell. Parameters
|
|
|
No |
The SetCellCharLimit method sets the maximum number of characters for a cell. Parameters
|
|
|
No |
The SetCellCheckBoxValue method sets the check box to be checked or not. Parameters
|
|
|
No |
The SetCellColor method sets the background color of a cell. Parameters
|
|
|
No |
The SetCellColorRGB method sets the background color of a cell using a single RGB value. Parameters
|
|
|
No |
The SetCellData method sets the data for a cell (a hidden string associated with a cell). Parameters
|
|
|
No |
The SetCellDropList method sets the cell as a drop-down menu. Parameters
Note: The length of Values and Data must match. |
|
|
No |
The SetCellDropListSelIndex method sets the drop-down menu selection by index. Parameters
|
|
|
No |
The SetCellDropListSelValue method sets the drop-down menu selection by value. Parameters
|
|
|
No |
The SetCellHyperlink method sets the cell to be a hyperlink. Parameters
|
|
|
No |
The SetCellReadOnly method sets a cell to be read-only. Parameters
|
|
|
No |
The SetCellTextColor method sets the text color of a cell. Parameters
|
|
|
No |
The SetCellTextColorRGB method sets the text color of a cell using a single RGB value. Parameters
|
|
|
No |
The SetCellTextFormat method sets the text format for a cell that will limit user input. Parameters
|
|
|
No |
The SetCellTypeCheckBox method sets cell to be a check box. Parameters
|
|
|
No |
The SetCellValidChars method sets the valid characters that can be typed into a cell. Parameters
|
|
|
No |
The SetCellValue method sets the value for a cell. This method will throw an error if the specified cell does not exist, or if the specified column does not permit user values. Parameters
|
|
|
No |
The SetColumnVisible method shows or hides a column. Parameters
|
|
|
No |
The SetCurSel method sets the current selection. Parameters
|
|
|
No |
The SetDisplayFormat method sets the display format for a column or a row (based on the value of the DisplayFormatOrientation property). Parameters
|
|
|
No |
The SetDynamicGroupColumn method configures a column to group. Parameters
|
|
|
No |
The SetFrozenColumns method sets the number of columns to fix to the left of the grid. Parameters
|
|
|
No |
The SetRowData method sets background data for a row. Parameters
|
|
|
No |
The SetSortingColumn method sets the grid to sort data based on the given column's values. Parameters
|